package com.winphone.uavc.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 组织结构
 * </p>
 *
 * @author LiaoJunJie
 * @since 2018-03-26
 */
@TableName("organization")
public class Organization extends SuperEntity<Organization> {

    private static final long serialVersionUID = 1L;

    /**
     * 上级
     */
	private Long pid;
    /**
     * 企业名称
     */
	private String name;
    /**
     * 营业执照注册号
     */
	private String license;
    /**
     * 地址
     */
	private String address;
    /**
     * 联系人
     */
	private String contact;
    /**
     * 联系人电话
     */
	@TableField("contact_phone")
	private String contactPhone;
    /**
     * 是否删除( 0未删除  1删除)
     */
	@TableField("is_delete")
	private String isDelete;
    /**
     * 创建人
     */
	@TableField("create_by")
	private Long createBy;
    /**
     * 创建时间
     */
	@TableField("create_date")
	private Date createDate;
    /**
     * 修改人
     */
	@TableField("update_by")
	private Long updateBy;
    /**
     * 修改时间
     */
	@TableField("update_date")
	private Date updateDate;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLicense() {
		return license;
	}

	public void setLicense(String license) {
		this.license = license;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public Long getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Long getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
}
